<?php

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

require_once '../model/saidaItemModel.php';
require_once '../dao/saidaItemDAO.php';

/**
 * Description of saidaItemController
 *
 * @author Santos
 */
class saidaItemController {

    public function setDados(saidaItemModel $model) {
        $dao = new saidaItemDAO;
        return $dao->setDados($model);
    }

    public function getModel() {
        return new saidaItemModel();
    }

    public function deleteDados(saidaItemModel $model) {
        $dao = new saidaItemDAO();
        return $dao->deleteDados($model);
    }

    public function getDados(saidaItemModel $model) {
        $dao = new saidaItemDAO();
        return $dao->getDados($model);
    }

}
